/**
 * @Title: index.js
 * @Description: index
 * @author: Fanchao
 * @date: 2020/7/29 11:24 下午
 * @version V1.0
 */
import React from 'react';
import PropTypes from 'prop-types';
import styles from './index.less';

const SectionTitle = ({ title }) => (
    <div className={styles.sectionTitle}>
        <div className={styles.line}/>
        {title}
    </div>
);
SectionTitle.propTypes = {
    title: PropTypes.string.isRequired,
};

export default SectionTitle;
